﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Smartee.RichText
{
    public sealed class ChangePageNumber : Content
    {
        public int NewPageNumber { get; private set; }

        public ChangePageNumber(int newPageNumber)
        {
            NewPageNumber = newPageNumber;
        }

        public override void Accept(IVisitor visitor)
        {
            visitor.Visit(this);
        }
    }
}
